namespace DotNetNuke.Security.Permissions
{
    using System;
    using System.Collections;

    public class CompareModulePermissions : IComparer
    {
        public int Compare(object x, object y)
        {
            return ((ModulePermissionInfo) x).ModulePermissionID.CompareTo(((ModulePermissionInfo) y).ModulePermissionID);
        }
    }
}

